import React from 'react'

const LoadingComponent = props => <>{props.error ? <div>加载失败</div> : <div>加载中</div>}</>
export default LoadingComponent
